/*
 * MainApplication.h
 *
 *  Created on: Oct 12, 2017
 *      Author: zjf
 */

#ifndef SRC_MAINAPPLICATION_H_
#define SRC_MAINAPPLICATION_H_

#include <Poco/Util/ServerApplication.h>

using namespace Poco::Util;

namespace appserv
{

class MainApplication : public ServerApplication
{
public:
	MainApplication();
	virtual ~MainApplication();

	const char* name() const { return "appserv"; }

	int main(const std::vector<std::string>& args);

protected:
	void initialize(Application& self);
	void uninitialize();
};

} /* namespace appserv */

#endif /* SRC_MAINAPPLICATION_H_ */
